package com.mcm.lstudy.entity;

public class Opinion {
	int oid;
	int cmid;
	int vid;
	int uid;
	String ocontent;
	int ostatus;

	public int getOid() {
		return oid;
	}

	public void setOid(int oid) {
		this.oid = oid;
	}

	public int getCmid() {
		return cmid;
	}

	public void setCmid(int cmid) {
		this.cmid = cmid;
	}

	public int getVid() {
		return vid;
	}

	public void setVid(int vid) {
		this.vid = vid;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public String getOcontent() {
		return ocontent;
	}

	public void setOcontent(String ocontent) {
		this.ocontent = ocontent;
	}

	public int getOstatus() {
		return ostatus;
	}

	public void setOstatus(int ostatus) {
		this.ostatus = ostatus;
	}

	public Opinion(int oid, int cmid, int vid, int uid, String ocontent, int ostatus) {
		super();
		this.oid = oid;
		this.cmid = cmid;
		this.vid = vid;
		this.uid = uid;
		this.ocontent = ocontent;
		this.ostatus = ostatus;
	}

	public Opinion() {
		// TODO Auto-generated constructor stub
	}

	public Opinion(int cmid, int vid, int uid, String ocontent, int ostatus) {
		super();
		this.cmid = cmid;
		this.vid = vid;
		this.uid = uid;
		this.ocontent = ocontent;
		this.ostatus = ostatus;
	}

	@Override
	public String toString() {
		return "opinion [oid=" + oid + ", cmid=" + cmid + ", vid=" + vid + ", uid=" + uid + ", ocontent=" + ocontent
				+ ", ostatus=" + ostatus + "]";
	}

}
